package com.eduService.teacher.controller;

import com.eduService.teacher.utils.R;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/edu/manager")
@CrossOrigin
public class LoginController {

    @PostMapping("/login")
    public R Login(){
        return R.ok().data("token","admin1");
    }

    @GetMapping("/info")
    public R info(){
        return R.ok().data("name","admin").data("password","111111");
    }
}
